Skip to content

Document preserving reversed ordered lists as HTML - #315

Open
Aschenbath wants to merge 1 commit into
matthewwithanm:developfrom
Aschenbath:codex/oss20e-20261122-markdownify-reversed-guide
Open

Aschenbath wants to merge 1 commit into
matthewwithanm:developfrom
Aschenbath:codex/oss20e-20261122-markdownify-reversed-guide

Conversation

@Aschenbath

Copy link
Copy Markdown

Addresses #309 with a custom-converter recipe.

CommonMark renumbers descending list markers, so document preserving reversed lists as raw HTML for renderers that support it. The example retains reversed/start/value attributes and shows that ordinary lists still convert. Explain raw-HTML requirements and that descendant conversion options do not affect the retained subtree.

This is a documented workaround; it does not change default conversion or support renderers that disallow HTML.

Validation: executed the exact README Python block and its assertions, and parsed the new RST section with warnings treated as errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant